import { axios } from '../utils/http'

/**
 * @description 获取主页轮播图数据
 */
export const Banners = () => {
  return axios.get('/banner')
}

/**
 * @description 获取主页热门推荐数据
 * @param { Number } limit 取出数量 , 默认为 30
 */
export const RcmdList = (num) => {
  return axios.get('/personalized', {params:{limit: num}})
}


